package cn.dakaqi.activity.diary.services;

import cn.dakaqi.entities.ActivityDiary;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * Created by chunyang on 2016/4/18.
 */
public interface ActivityDiaryService
{
    public void save(String param)throws ServiceRuntimeException;
    public void save(ActivityDiary activityDiary)throws ServiceRuntimeException;
    public void update(ActivityDiary activityDiary)throws ServiceRuntimeException;
    Page<ActivityDiary> findByActivityCode(String activityCode,int type,int pageNumber)throws ServiceRuntimeException;
    Page<ActivityDiary> findByMemberCode(String memberCode,int type,int pageNumber)throws ServiceRuntimeException;
    Page<ActivityDiary> findByGroupCode(String groupCode,int type,int pageNumber)throws ServiceRuntimeException;
}
